package com.zjitc.service.imp;

import com.zjitc.dao.UserDao;
import com.zjitc.model.User;
import com.zjitc.service.UserService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/20 14:54
 * @description:
 */
@Service
public class UserServiceImp implements UserService {

  @Autowired
  private UserDao userDao;

  @Override
  public List<User> findAll() {
    return userDao.findAll();
  }
}
